/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package generics.simpleExample;

/**
 *
 * @author Bryce.Alcock
 */
public class MyString implements Copyable<MyString> {

    private StringBuilder buffer;

    public MyString(String s) {
        buffer = new StringBuilder(s);
    }

    public MyString copy(){
        return new MyString(buffer.toString());
    }




}
